home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Power 1997 December
/
MACPOWER-1997-12.ISO.7z
/
MACPOWER-1997-12.ISO
/
AMUG
/
PROGRAMMING
/
Raven 1.2 Examples.sit
/
Raven 1.2 Examples
/
Quill
/
Source
/
PaneEditDialog.h
< prev
next >
Wrap
Text File
|
1996-12-01
|
2KB
|
91 lines
/*
* File: PaneEditDialog.h
* Function: A dialog box that knows how to edit panes.
* Written by: Jesse Jones
*
* Copyright ゥ 1996 Jesse Jones.
* For conditions of distribution and use, see copyright notice in ZTypes.h
*
* Change History (most recent first):
*
* <-> 11/20/96 JDJ Created (from CPaneDialog)
*/
#pragma once
#include <ZDialogBox.h>
//-----------------------------------
// Forward References
//
class THierarchicalTable;
// ===================================================================================
// class CPaneEditDialog
// ===================================================================================
class CPaneEditDialog : public TDialogBox {
typedef TDialogBox Inherited;
//-----------------------------------
// Initialization/Destruction
//
public:
virtual ~CPaneEditDialog();
protected:
CPaneEditDialog();
//-----------------------------------
// New API
//
public:
static void EditPane(TPane* pane);
protected:
virtual void SetPane(TPane* pane);
virtual bool Validate() const;
virtual void Apply();
virtual void Commit();
virtual void Revert();
//-----------------------------------
// Inherited API
//
protected:
virtual void OnClose();
//-----------------------------------
// TReanimator Support
//
public:
static CPaneEditDialog* Create(ResID id, MCommander* superCommander);
static MReanimatable* Create(MReanimatable* parent);
protected:
virtual void OnReanimated();
//-----------------------------------
// Internal API
//
protected:
void CreateEditors();
Handle GetTable();
//-----------------------------------
// Member data
//
protected:
THierarchicalTable* mTable;
TPane* mPane;
};